# coding: utf-8

from application import db

class City(db.Model):
    __tablename__ = 'citys'

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(255, 'utf8_unicode_ci'), nullable=False)
    level = db.Column(db.Integer, nullable=False)
    upid = db.Column(db.Integer, nullable=False)
